<template>
	<div class='agreement'>
		<agreement :type="type"></agreement>
	</div>
</template>

<script>
	import agreement from "@/components/agreement/agreement.vue"
	export default {
		components: {
			agreement
		},
		data(){
			return{
				type:'user'
			}
		},
		onLoad(res){
			if(res.type){
				this.type = res.type
			}
		}
	}
</script>

<style lang="scss" scoped>
	.agreement{
		background-color: white;
	}
</style>
